package gui_classes;

import java.awt.Dimension;

import javax.swing.JPanel;
import javax.swing.JLabel;

public class MedicalHistoryPage extends DERPBase {

	/**
	 * Create the panel.
	 */
	public MedicalHistoryPage() {
		setLayout(null);
		setPreferredSize(new Dimension(500,400));
		
		JLabel lblMedicalHistory = new JLabel("Medical History");
		lblMedicalHistory.setBounds(83, 12, 109, 15);
		add(lblMedicalHistory);
		
		JLabel lblName = new JLabel("Name:");
		lblName.setBounds(12, 52, 70, 15);
		add(lblName);
		
		JLabel lblAttendingDoctor = new JLabel("Attending Doctor:");
		lblAttendingDoctor.setBounds(12, 96, 133, 15);
		add(lblAttendingDoctor);
		
		JLabel lblAttendingNurse = new JLabel("Attending Nurse:");
		lblAttendingNurse.setBounds(12, 153, 123, 15);
		add(lblAttendingNurse);
		
		JLabel label = new JLabel("");
		label.setBounds(283, 12, 205, 15);
		add(label);
		
		JLabel lblBloodPressured = new JLabel("Blood Pressure (D)");
		lblBloodPressured.setBounds(283, 52, 138, 15);
		add(lblBloodPressured);
		
		JLabel lblBloodPressures = new JLabel("Blood Pressure (S)");
		lblBloodPressures.setBounds(283, 96, 138, 15);
		add(lblBloodPressures);
		
		JLabel lblDiagnosis = new JLabel("Diagnosis:");
		lblDiagnosis.setBounds(12, 244, 86, 15);
		add(lblDiagnosis);
		
		JLabel lblPulse = new JLabel("Pulse:");
		lblPulse.setBounds(283, 153, 70, 15);
		add(lblPulse);
		
		JLabel lblTemperature = new JLabel("Temperature:");
		lblTemperature.setBounds(12, 203, 109, 15);
		add(lblTemperature);
		
		JLabel lblWeight = new JLabel("Weight:");
		lblWeight.setBounds(259, 203, 70, 15);
		add(lblWeight);
		
		JLabel lblNotes = new JLabel("Notes:");
		lblNotes.setBounds(12, 317, 70, 15);
		add(lblNotes);
		
		JLabel lblHeight = new JLabel("Height:");
		lblHeight.setBounds(259, 244, 70, 15);
		add(lblHeight);
		
/*		JLabel lblEditdate = new JLabel("editDate");
		lblEditdate.setBounds(283, 12, 70, 15);
		add(lblEditdate);
		
		JLabel lblEditname = new JLabel("editName");
		lblEditname.setBounds(65, 52, 70, 15);
		add(lblEditname);
		
		JLabel lblEditdoctor = new JLabel("editDoctor");
		lblEditdoctor.setBounds(149, 96, 70, 15);
		add(lblEditdoctor);
		
		JLabel lblEditnurse = new JLabel("editNurse");
		lblEditnurse.setBounds(149, 153, 70, 15);
		add(lblEditnurse);
		
		JLabel lblEdittemp = new JLabel("editTemp");
		lblEdittemp.setBounds(134, 203, 70, 15);
		add(lblEdittemp);
		
		JLabel lblEditbpd = new JLabel("editBPD");
		lblEditbpd.setBounds(430, 52, 70, 15);
		add(lblEditbpd);
		
		JLabel lblEditbps = new JLabel("editBPS");
		lblEditbps.setBounds(433, 96, 70, 15);
		add(lblEditbps);
		
		JLabel lblEditpulse = new JLabel("editPulse");
		lblEditpulse.setBounds(345, 153, 70, 15);
		add(lblEditpulse);
		
		JLabel lblEditwt = new JLabel("editWt");
		lblEditwt.setBounds(345, 203, 70, 15);
		add(lblEditwt);
		
		JLabel lblEditdiag = new JLabel("editDiag");
		lblEditdiag.setBounds(22, 271, 70, 15);
		add(lblEditdiag);
		
		JLabel lblEditnotes = new JLabel("editNotes");
		lblEditnotes.setBounds(28, 338, 70, 15);
		add(lblEditnotes);
*/
	}
	
	
	public void setDate(String t)
	{
		JLabel lblEditdate = new JLabel(t);
		lblEditdate.setBounds(283, 12, 70, 15);
		add(lblEditdate);
	}
	
	public void setFName(String t)
	{
	JLabel lblEditname = new JLabel(t);
	lblEditname.setBounds(65, 52, 120, 15);
	add(lblEditname);
	}
	
	public void setDoctor(String t)
	{
	JLabel lblEditdoctor = new JLabel(t);
	lblEditdoctor.setBounds(149, 96, 120, 15);
	add(lblEditdoctor);
	}
	
	public void setNurse(String t)
	{
	JLabel lblEditnurse = new JLabel(t);
	lblEditnurse.setBounds(149, 153, 120, 15);
	add(lblEditnurse);
	}
	
	public void setTemp(String t)
	{
	JLabel lblEdittemp = new JLabel(t);
	lblEdittemp.setBounds(134, 203, 70, 15);
	add(lblEdittemp);
	}
	
	public void setBPD(String t)
	{
	JLabel lblEditbpd = new JLabel(t);
	lblEditbpd.setBounds(430, 52, 70, 15);
	add(lblEditbpd);
	}
	
	public void setBPS(String t)
	{
	JLabel lblEditbps = new JLabel(t);
	lblEditbps.setBounds(433, 96, 70, 15);
	add(lblEditbps);
	}
	
	public void setPulse(String t)
	{
	JLabel lblEditpulse = new JLabel(t);
	lblEditpulse.setBounds(345, 153, 70, 15);
	add(lblEditpulse);
	}
	
	public void setWeight(String t)
	{
	JLabel lblEditwt = new JLabel(t);
	lblEditwt.setBounds(345, 203, 70, 15);
	add(lblEditwt);
	}
	
	public void setHeight(String t)
	{
		JLabel lblEditht = new JLabel(t);
		lblEditht.setBounds(338, 244, 70, 15);
		add(lblEditht);
	}
	
	public void setDiagnosis(String t)
	{
	JLabel lblEditdiag = new JLabel(t);
	lblEditdiag.setBounds(22, 271, 140, 15);
	add(lblEditdiag);
	}
	
	public void setNotes(String t)
	{
	JLabel lblEditnotes = new JLabel(t);
	lblEditnotes.setBounds(28, 338, 140, 15);
	add(lblEditnotes);
	}
	
	public void display()
	{
		GUI_Main.replacePanel(this);
	}

}
